package com.kehutong.charge.entity;

import com.kehutong.charge.util.enums.EnableStateEnum;
import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @program: kht
 * @description: ChargeRefundConfig
 * @author: joneron
 * @create: 2021/6/29
 **/
@Table(value="t_charge_refund_config", comment="退款配置表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeRefundConfig extends DataEntity {

    protected ChargeRefundConfig(String id) {
        super(id);
    }

    @Column(comment="退款名称")
    private String refundName;

    @Column(comment="小区编号")
    private String communityNo;

    @Column(comment="小区名称")
    private String communityName;

    @Column(comment="退款方式")
    private String refundMethod;

    @Column(comment="审核人")
    private String applyName;

    @Column(comment="审核人编号")
    private String applyUserNo;

    @Column(comment="审核方式:")
    private EnableStateEnum approveMethod;


    @Column(comment = "排序")
    private Integer sort;

    @Column(comment = "是否初始化数据")
    private boolean initData;


    @Column(comment = "状态：0禁用，1启用")
    private boolean status;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "修改人")
    private String updateName;



    public String getApplyName() {
        return applyName;
    }

    public void setApplyName(String applyName) {
        this.applyName = applyName;
    }

    public String getApplyUserNo() {
        return applyUserNo;
    }

    public void setApplyUserNo(String applyUserNo) {
        this.applyUserNo = applyUserNo;
    }

    public String getRefundName() {
        return refundName;
    }

    public void setRefundName(String refundName) {
        this.refundName = refundName;
    }

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getRefundMethod() {
        return refundMethod;
    }

    public void setRefundMethod(String refundMethod) {
        this.refundMethod = refundMethod;
    }

    public EnableStateEnum getApproveMethod() {
        return approveMethod;
    }

    public void setApproveMethod(EnableStateEnum approveMethod) {
        this.approveMethod = approveMethod;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public boolean isInitData() {
        return initData;
    }

    public void setInitData(boolean initData) {
        this.initData = initData;
    }
}
